/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.





Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/

 

#ifndef YundingModel_h
#define YundingModel_h

@interface VmImageOverview :NSObject

/// 镜像名称
@property (strong,nonatomic,nonnull)  NSString*  name;

/// 平台信息
@property (strong,nonatomic,nonnull)  NSString*  platform;


-(id) initWithName:(NSString*) name
    platform:(NSString*)platform;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface Cluster :NSObject

/// id
@property (strong,nonatomic,nonnull)  NSString*  idValue;

/// 实例名称
@property (strong,nonatomic,nonnull)  NSString*  name;

/// 数据中心
@property (strong,nonatomic,nonnull)  NSString*  dataCenter;

/// 域名
@property (strong,nonatomic,nonnull)  NSString*  domain;

/// 端口号
@property (strong,nonatomic,nonnull)  NSString*  connectionPort;

/// 数据库引擎
@property (strong,nonatomic,nonnull)  NSString*  dbEngine;

/// 数据库版本
@property (strong,nonatomic,nonnull)  NSString*  dbVersion;


-(id) initWithId:(NSString*) idValue
    name:(NSString*)name
    dataCenter:(NSString*)dataCenter
    domain:(NSString*)domain
    connectionPort:(NSString*)connectionPort
    dbEngine:(NSString*)dbEngine
    dbVersion:(NSString*)dbVersion;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface RdsInstance :NSObject

/// 实例ID
@property (strong,nonatomic,nonnull)  NSString*  instanceId;

/// 实例名称，具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)
@property (strong,nonatomic,nonnull)  NSString*  instanceName;

/// 实例类别，例如主实例，只读实例等，参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)
@property (strong,nonatomic,nonnull)  NSString*  instanceType;

/// 实例引擎类型，如MySQL或SQL Server等，参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)
@property (strong,nonatomic,nonnull)  NSString*  engine;

/// 实例引擎版本，参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)
@property (strong,nonatomic,nonnull)  NSString*  engineVersion;

/// 实例规格代码
@property (strong,nonatomic,nonnull)  NSString*  instanceClass;

/// 磁盘，单位GB
@property (strong,nonatomic,nonnull)  NSNumber*  instanceStorageGB;

/// CPU核数
@property (strong,nonatomic,nonnull)  NSNumber*  instanceCPU;

/// 内存，单位MB
@property (strong,nonatomic,nonnull)  NSNumber*  instanceMemoryMB;

/// 地域ID，参见[地域及可用区对照表](../Enum-Definitions/Regions-AZ.md)
@property (strong,nonatomic,nonnull)  NSString*  regionId;

/// 可用区ID，第一个为主实例在的可用区，参见[地域及可用区对照表](../Enum-Definitions/Regions-AZ.md)
@property (strong,nonatomic,nonnull)  NSArray<NSString*>*  azId;

/// VPC的ID
@property (strong,nonatomic,nonnull)  NSString*  vpcId;

/// VPC的name
@property (strong,nonatomic,nonnull)  NSString*  vpcName;

/// 子网的ID
@property (strong,nonatomic,nonnull)  NSString*  subnetId;

/// 实例状态，参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)
@property (strong,nonatomic,nonnull)  NSString*  instanceStatus;

/// 实例创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// MySQL只读实例对应的主实例ID
@property (strong,nonatomic,nonnull)  NSString*  sourceInstanceId;


-(id) initWithInstanceId:(NSString*) instanceId
    instanceName:(NSString*)instanceName
    instanceType:(NSString*)instanceType
    engine:(NSString*)engine
    engineVersion:(NSString*)engineVersion
    instanceClass:(NSString*)instanceClass
    instanceStorageGB:(NSNumber*)instanceStorageGB
    instanceCPU:(NSNumber*)instanceCPU
    instanceMemoryMB:(NSNumber*)instanceMemoryMB
    regionId:(NSString*)regionId
    azId:(NSArray<NSString*>*)azId
    vpcId:(NSString*)vpcId
    vpcName:(NSString*)vpcName
    subnetId:(NSString*)subnetId
    instanceStatus:(NSString*)instanceStatus
    createTime:(NSString*)createTime
    sourceInstanceId:(NSString*)sourceInstanceId;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end

#endif /* YundingModel_h */
